package com.situ.ssh.service;

import com.situ.ssh.common.ServerResponse;
import com.situ.ssh.entity.SearchCondition;
import com.situ.ssh.entity.User;

import java.util.List;

public interface IUserService {
    public void save(User user);
    public void deleteById(User user);
    public void update(User user);
    public User findById(Integer id);
    public List<User> findAll();

    User login(User user);

    ServerResponse pageList(SearchCondition searchCondition);
}
